package com.example.pcl.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@Schema(description = "用户信息",name = "UserVo")
public class UserVo {

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "账户状态 (0: 正常, 1: 被禁用)")
    private Integer accountStatus;

    @Schema(description = "用户角色 (0: 学生, 1: 心理咨询师)")
    private Integer role;

    @Schema(description = "最后登录时间")
    private LocalDateTime lastLoginTime;

    @Schema(description = "性别 (0: 男, 1: 女, 2: 其他)")
    private Integer gender;

    @Schema(description = "联系电话")
    private String phone;

    @Schema(description = "头像URL")
    private String avatarUrl;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "出生日期")
    private LocalDate birthDate;

    @Schema(description = "角色id")
    private Integer roleId;
}

